Docs/update reference to JS build setup 404 in scripts README, fix absolute links. #69495
+7
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
Closes #69494
Fixing the 404 within the README for JavaScript Build Setup tutorial to go to the corresponding, correct URL referenced in WordPress Developer Resources
What?
When viewing the scripts package README the link to JavaScript Build Setup tutorial within the Setup section leads to a 404. In addition, all links referencing the Gutenberg repository in this README had absolute paths including the GitHub URL.
Why?
The link to JavaScript Build Setup tutorial should lead to a valid URL. Absolute paths containing the GitHub URL contravenes the Using Links section of the contributor guidelines.
How?
There is a reference to this outdated JavaScript Build Setup tutorial URL in the WordPress Developer Resources how-to guides. A decision to redirect this link to https://developer.wordpress.org/block-editor/getting-started/fundamentals/javascript-in-the-block-editor/ had already been made in the past, I've updated the link in the README accordingly.
All links to the Gutenberg repo (including the updated link referenced above) have had their URL's updated to remove the domain, e.g.
https://github.com/WordPress/gutenberg/blob/HEAD/packages/scripts/CHANGELOG.md
becomes/packages/scripts/CHANGELOG.md
.Testing Instructions
The link pictured below should now say "Working with JavaScript for the Block Editor" which is the correct page title for the updated URL and no longer lead you to a 404 page.

There should be no absolute references to
https://github.com/WordPress/gutenberg/blob/*
orhttps://github.com/WordPress/gutenberg/tree/*
in links within the README.